/*
	Mine inherits from the Fixed class.
	A Mine piece is invisible on the board. When landed on
	by an enemy Piece, the mine will epxlode, destroying
	itself and the enemy Piece.
*/

class Mine extends Fixed{
	//COnstructor for Mine creation
	public Mine(String owner, String xCoord, String yCoord, String zCoord, int dir)
	{
	//Call parent constructor
	super(owner, xCoord, yCoord, zCoord);
	isVisible = false; //Mines are not visible on the board, so set to false
	jumpable = false; //can't jump over a mine alone..  if it is there, you will land on it
	passable = true; //Can move onto the square[and get blown up]
	explodeOnEnemyContact = true; //Mines explode on contact
	destroyEnemyOnContact = true; //When the mine explodes, it destroys the enemy piece
	safeOnContact = false; //Mine is NOT a safezone
	direction = dir;
	}
}